package reno.activity.mo;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class GroupCardPool {

    private static volatile GroupCardPool groupCardPool;

    private GroupCardPool() {
    }

    public static GroupCardPool getInstance() {
        if (groupCardPool == null) {
            synchronized (GroupCardPool.class) {
                if (groupCardPool == null) {
                    groupCardPool = new GroupCardPool();
                }
            }
        }
        return groupCardPool;
    }

    private Map<Long, Map<Long,Member>> groupMap = new HashMap<>();

    public Map<Long, Map<Long, Member>> getGroupMap() {
        return groupMap;
    }

    public void setGroupMap(Map<Long, Map<Long, Member>> groupMap) {
        this.groupMap = groupMap;
    }
}
